//
//  person.m
//  foofie简凡
//
//  Created by mac on 16-4-11.
//  Copyright (c) 2016年 hh. All rights reserved.
//

#import "person.h"

@implementation person
-(void)eat
{
    NSLog(@"Person %@ eats!",self.name);
}

-(void)sleep
{
    NSLog(@"Person %@ sleep!",self.name);
}

-(void)talk:(NSString *)text
{
    NSLog(@"Person %@ says:%@",self.name,text);
}

@end
